package csdn_math;

import java.util.Arrays;
import java.util.Iterator;
import java.util.List;

public class Test3 {
    public static void main(String[] args) {
        List list= Arrays.asList(1,3,4,54,675,543,423,63);
    Iterator iterator=list.iterator();
    while(iterator.hasNext()){
        System.out.println(iterator.next());
    }

    int arr[]={124,4,54,2,65,23,74};
    Arrays.fill(arr,0);
    for(int data:arr){
        System.out.print(data);
    }

    }
}
